package org.apache.servicecomb.samples.practise.houserush.gateway.rpc;

import org.apache.servicecomb.samples.practise.houserush.gateway.rpc.po.User;

import java.util.concurrent.CompletableFuture;

/**
 * @Author: Snake Man
 * @system:
 * @DateTime: 2022/1/9 17:41
 * @Description:
 */
public interface UserApi {
    //User signin(User user);
    //User verifyToken(String token);
    CompletableFuture<User> signin(User user);

    CompletableFuture<User> verifyToken(String token);
}
